package org.zcl.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * 频道分类(TbChannelCategory)表实体类
 *
 * @author Chenglin Zhu
 * @since 2022-01-06 17:05:12
 */
@SuppressWarnings("serial")
public class TbChannelCategory extends Model<TbChannelCategory> {
    //主键
    private Integer id;
    //频道id
    private Integer channelId;
    //名称
    private String name;
    //状态
    private Integer status;
    //工会id
    private Integer unionId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getChannelId() {
        return channelId;
    }

    public void setChannelId(Integer channelId) {
        this.channelId = channelId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getUnionId() {
        return unionId;
    }

    public void setUnionId(Integer unionId) {
        this.unionId = unionId;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}

